package com.xxxx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 隔离报备表单
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_geli")
@ApiModel(value="Geli对象", description="隔离报备表单")
public class Geli implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "隔离人员类型")
    private Integer type;

    @ApiModelProperty(value = "外键")
    private Integer adminid;

    @ApiModelProperty(value = "隔离方式")
    private Integer way;

    @ApiModelProperty(value = "隔离开始时间")
    private LocalDateTime stime;

    @ApiModelProperty(value = "隔离地点")
    private String didian;

    @ApiModelProperty(value = "预估隔离结束时间")
    private LocalDateTime etime;

    @ApiModelProperty(value = "新冠疫苗接种情况")
    private Integer yimiao;

    @ApiModelProperty(value = "接种疫苗类型")
    private Integer yimiaol;

    @ApiModelProperty(value = "疫苗最后一针时间")
    private LocalDateTime lastt;

    @ApiModelProperty(value = "确认信息是否真实")
    private Integer queren;

    @ApiModelProperty(value = "学院名字")
    @TableField(exist = false)
    @Excel(name = "学院名称")
    private String coname;

    @ApiModelProperty(value = "班级名字")
    @TableField(exist = false)
    @Excel(name = "班级名称")
    private String clname;

}
